﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="news_search_list.aspx.cs"
    Inherits="Ccit.OA.NewsCenter.news_search_list" %>
<%@ Register TagPrefix="ccit" Namespace="Ccit.ServerControls" Assembly="Ccit.ServerControls.ActionForm" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v8.1" Namespace="DevExpress.Web.ASPxGridView"
    TagPrefix="dxwgv" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>信息中心-信息列表</title>
</head>
<body>
    <ccit:ActionForm id="form1" runat="server">
    
    <input type="hidden" runat="server" id="_hidTabId" />
    <%--<input type="hidden" runat="server" id="_hidWhereClause" />--%>
    
    <!--快捷条件-->
    <input type="hidden" value="" runat="server" id="_hidFastClause" />
    <!--栏目主键id-->
    <input type="hidden" value="" runat="server" id="_hidColumnId" />
    <input type="hidden" value="" runat="server" id="_hidType" />
    <dxwgv:ASPxGridView ID="gvNews" KeyFieldName="NewsId" runat="server" 
        Width="100%" align="center" onhtmlrowcreated="gvNews_HtmlRowCreated">
        <Columns>
            <dxwgv:GridViewDataTextColumn FieldName="NewsTitle" Caption="信息标题" VisibleIndex="1"  Width="24%">
                <HeaderStyle HorizontalAlign="center" />
                <CellStyle HorizontalAlign="left">
                </CellStyle>
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn FieldName="ColumnNo" Caption="信息栏目" VisibleIndex="2"  Width="18%">
                <HeaderStyle HorizontalAlign="center" />
                <CellStyle HorizontalAlign="left" Wrap="False">
                </CellStyle>
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn FieldName="NewsStatus" Caption="信息状态" VisibleIndex="3" Width="10%">
                <HeaderStyle HorizontalAlign="center" />
                <CellStyle HorizontalAlign="center" Wrap="False">
                </CellStyle>
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn FieldName="PicFlag" Caption="图片" VisibleIndex="4"  Width="5%">
                <HeaderStyle HorizontalAlign="center" />
                <CellStyle HorizontalAlign="center" Wrap="False">
                </CellStyle>
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn FieldName="TopFlag" Caption="置顶" VisibleIndex="5"  Width="5%">
                <HeaderStyle HorizontalAlign="center" />
                <CellStyle HorizontalAlign="center" Wrap="False">
                </CellStyle>
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn FieldName="ViewCount" Caption="阅读人数" VisibleIndex="6"  Width="5%">
                <HeaderStyle HorizontalAlign="center" />
                <CellStyle HorizontalAlign="center" Wrap="False">
                </CellStyle>
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn FieldName="IssueDate" Caption="发布时间" VisibleIndex="7"  Width="20%">
                <HeaderStyle HorizontalAlign="center" />
                <CellStyle HorizontalAlign="center" Wrap="False">
                </CellStyle>
            </dxwgv:GridViewDataTextColumn>
            <dxwgv:GridViewDataTextColumn FieldName="IssueUserId" Caption="发布人" VisibleIndex="8"  Width="13%" >
                <HeaderStyle HorizontalAlign="center" />
                <CellStyle HorizontalAlign="center" Wrap="False">
                </CellStyle>
            </dxwgv:GridViewDataTextColumn>
        </Columns>
        
            <SettingsPager PageSize=13 Mode="ShowPager" AlwaysShowPager=true
                 FirstPageButton-Visible=true LastPageButton-Visible=true  
                 FirstPageButton-Image-AlternateText="" LastPageButton-Image-AlternateText="灏鹃〉"
                 NumericButtonCount=5  SEOFriendly="Disabled"
                 PrevPageButton-Visible="true" NextPageButton-Visible="true"
                 ShowSeparators=true Position="Bottom"></SettingsPager>
            
            <Styles>
                <Row CssClass=""></Row>
                <AlternatingRow  CssClass="" Enabled="true"/>
                <SelectedRow  CssClass=""></SelectedRow>                
            </Styles>
            <Settings ShowFilterRow="false" ShowPreview="True"/>
            <SettingsCustomizationWindow Enabled="true" />             
          </dxwgv:ASPxGridView>
    </ccit:ActionForm>
</body>
